<?php

class MomentsRelationModel extends RelationModel {
	protected $tableName = 'school_alumni_allclass';

	protected $_link = array(
		'school_alumni_user' => array(
			'mapping_type' => HAS_MANY,
			'foreign_key' => 'userid',
			'relation_key' => 'id',
			'mapping_fields' => 'truename, user_type',
		),
	);
}
?>